/*
 * Copyright (c) 2018. J4dream Created.
 */

package com.j4dream.property.web.user;

import lombok.Value;

import javax.validation.constraints.Email;
import javax.validation.constraints.Max;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

@Value
public class CreateUserVO {
    @NotBlank
    @Email
    private String email;
    @NotBlank
    @Size(max = 50)
    private String name;
    @Size(max = 50)
    private String firstName;
    @Size(max = 50)
    private String lastName;

    private boolean superuser;
}
